package com.ewanghuiju.app.base.contract.pintuan;

import com.ewanghuiju.app.base.BasePresenter;
import com.ewanghuiju.app.base.BaseView;
import com.ewanghuiju.app.model.http.response.BaseResponse;

import java.util.Map;

import okhttp3.RequestBody;

/**
 * @author sj  qq:751943509
 * @class 评价
 * @time 2020/2/18
 */
public interface PintuanPjContract {

    interface View extends BaseView {

        void showContent(String list);

        void showMoreContent(String list);

        void showPjSuccess();

        void showPjFail();

        void showOsstoken(BaseResponse baseResponse);//显示ossToken
    }

    interface Presenter extends BasePresenter<View> {

        void getData();

        void toPingjia(String order_id, String content, String image, String stars);//去评价

        void toPingjiaWith(Map<String, RequestBody> files);//去评价上传图片

        void getOsstoken(String sessionname);//获取去oss token

    }
}